<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
@@include('./widget/title.html')
</head>
<body>
<!--_header 作为公共模版分离出去-->
@@include('./widget/header.html')
<!--/_header 作为公共模版分离出去-->

<!--_menu 作为公共模版分离出去-->
@@include('./widget/menu.html')
<!--/_menu 作为公共模版分离出去-->

<section class="Hui-article-box">
    <nav class="breadcrumb">
        <div class="breadcrumb-wrap">
            <span class="c-666 border-left">添加活动消息</span>
            <a class="btn  radius r" style="line-height:1.6em;margin-top:4px;cursor:pointer;" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i><span>刷新</span></a>
            <a class="btn  radius r mr-10" style="line-height:1.6em;margin-top:4px;cursor:pointer;" href="./activity-list.html" title="返回"><i class="Hui-iconfont">&#xe67d;</i><span>返回</span></a>
        </div>
    </nav>
    <div class="Hui-article">
         <article class="cl pd-20">
            <div class="mx-box">
                <div class="mx-title"><h5 class="pl-15">添加活动消息</h5>
                </div>
                <div class="mx-content">
                    <table class="table table-border-no mx-goods-info-table">
                        <tr>
                            <td width="25%" class="text-r"><span class="c-danger">*</span>列表标题：</td>
                            <td><input style="width:36%!important;" id="title" type="text" placeholder="请输入列表标题" class="input-text radius"></td>
                        </tr>
                        <tr>
                            <td width="25%" class="text-r">推送标题：</td>
                            <td><input style="width:36%!important;" id="desc" type="text" placeholder="请输入推送标题" class="input-text radius"><p>不填写默认为列表标题信息</p></td>
                        </tr>
                        <tr>
                            <td width="25%" class="text-r"><span class="c-danger">*</span>发布时间：</td>
                            <td><span  class="mx-radio"><input type="radio" name="line" value="1" checked> 立即</span></td>
                        </tr>
                       <!--  <tr class="timeWrap" style="display: none;">
                            <td width="25%" class="text-r"><span class="c-danger">*</span>预约时间：</td>
                            <td><input style="width:36%!important;" id="times" type="text" class="input-text radius" placeholder="请选择时间"></td>
                        </tr> -->
                        <tr>
                            <td width="25%" class="text-r"><span class="c-danger">*</span>发送接收端：</td>
                            <td id="clientList">
                                <!-- <div class="goods-checkbox ">
                                    <div class="check-box">
                                        <input type="checkbox">
                                    </div>
                                </div>
                                <span class="mr-10">全部</span>
                                <div class="goods-checkbox  ">
                                    <div class="check-box">
                                        <input type="checkbox">
                                    </div>
                                </div>
                                <span class="mr-10">全部</span> -->
                            </td>
                        </tr>
                        <tr>
                            <td width="25%" class="text-r"><span class="c-danger">*</span>是否立即推送：</td>
                            <td><span class="switch switch-on" id="isPush"  themeColor="#3498db"></span></td>
                        </tr>
                        <tr>
                            <td width="25%" class="text-r"><span class="c-danger">*</span>推送类型：</td>
                            <td><span  class="mx-radio"><input type="radio" name="types" value="1" checked>文字</span><span class="mx-radio"><input type="radio" name="types" value="0">链接</span></td>
                        </tr>
                        <tr class="editorWrap">
                            <td width="25%" class="text-r"><span class="c-danger">*</span>推送内容：</td>
                            <td>
                                <script id="container" name="content" type="text/plain" style="width: 100%;">

                                </script>
                            </td>
                        </tr>
                        <tr class="h5Wrap" style="display: none;">
                            <td width="25%" class="text-r"><span class="c-danger">*</span>H5链接：</td>
                            <td><input style="width:45%!important;" id="Url" type="text" class="input-text radius" placeholder=""><p>链接以http://开头</p></td>
                        </tr>
                        <tr class="h5Wrap" style="display: none;">
                            <td width="25%" class="text-r">备注：</td>
                            <td><textarea style="width:50%!important;" id="remark" class="textarea" maxlength="500" placeholder="请输入内容不超过500字"></textarea></td>
                        </tr>
                        <tr>
                            <td width="25%" class="text-r"></td>
                            <td>
                                <a href="./message-list.html" id="cancel" style="width:120px!important" class="btn btn-secondary-outline radius mr-10">取消</a>
                                <button id="submit" style="width:200px!important" class="btn btn-primary radius">确认发布</button>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>

        </article>
        <!--footer-->
        @@include('./widget/footer.html')
        <!--/footer-->
    </div>
</section>

<!--script 公用脚本-->
@@include('./widget/script.html')
<!--/script 公用脚本-->
<!-- 编辑器配置文件 -->
<script src="./ueditor/ueditor.config.js"></script>
<script src="./ueditor/ueditor.all.js"></script>

<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('container',{
        initialFrameHeight: 600
    });
</script>
<!--请在下方写此页面业务相关的脚本-->
<script src="./js/activity-add-user.js"></script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>